home *** CD-ROM | disk | FTP | other *** search
/ Colossal Clipart / Colossal Clipart.iso / _debug / 6.bat < prev    next >
DOS Batch File  |  1995-08-09  |  367b  |  25 lines

  1. @echo off
  2. rem Kill PRODUCT FROM %2
  3.  
  4. rem check for parm
  5. if "%2" == "" goto noParm
  6.  
  7. rem check for dir
  8. if not exist %2\nul goto nodir
  9.  
  10. Echo Deleting %2 ...
  11. delTREE %2
  12. Echo Success!
  13.  
  14. goto exit
  15.  
  16. :noparm
  17. Echo You must specify a directory.
  18. Echo Example: DEBUG 6 C:\APPS\SUPERSG\CLIPART
  19. GOTO EXIT
  20.  
  21. :nodir
  22. Echo The Directory: %2 does not exist.
  23.  
  24. :exit
  25.